package com.sunjob.mroassets.server;

import com.sunjob.common.domain.assets.Instance;
import com.sunjob.common.domain.assets.Part;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface InstanceService {
    void insertInstance(Instance instance1);

    Object queryEntityByTypeAndID(Long entityId, String type);

    int insertParts(List<Part> parts);

    List<Instance> getAllInstance();

    List<Part> getAllPart();

    List<Instance> getInstanceByShapeId(Long shapeId);
}
